package com.weasing.res.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.weasing.res.dao.IWxEvalresultDao;
import com.weasing.res.domain.WxEvalresult;
import com.weasing.res.service.IWxEvalresultService;
import com.weasing.res.service.base.impl.BaseServiceImpl;

@Service
@Transactional
public class WxEvalresultServiceImpl extends BaseServiceImpl<WxEvalresult> implements IWxEvalresultService {
	@Autowired
	private IWxEvalresultDao wxEvalresultDao;

	@Override
	public void addWxEvalresult(WxEvalresult wxEvalresult) {
		wxEvalresultDao.save(wxEvalresult);

	}

	@Override
	public Integer jiyaCount() {
		Integer i = wxEvalresultDao.jiyaCount();
		return i;
	}

	@Override
	public Integer nojiyaCount() {
		Integer i = wxEvalresultDao.nojiyaCount();
		return i;
	}

}
